package jjn.acwing.java_basic;

import java.io.BufferedWriter;
import java.io.IOException;
import java.io.OutputStreamWriter;

/**
 * @author Jiang Jining
 * @since 2023-09-13 23:18
 */
public class OutputDemo {
    public static void main(String[] args) throws IOException {
        BufferedWriter bufferedWriter = new BufferedWriter(new OutputStreamWriter(System.out));
        bufferedWriter.write("Hello world");
        bufferedWriter.write("\n");
        bufferedWriter.write("\n");
        bufferedWriter.flush();
    }
}
